/**
 * zhangqiang 2017.03.30
 * 详情
 */
import { DETAILS } from "../actions/actionsTypes"

export default function detailsReducetr(state = {}, action) {
	switch (action.type) {
		case DETAILS:
			return Object.assign({}, state, { details: action.data });
		default:
			return state;
	}
}